package com.hfut.eeg.dto;

import io.swagger.annotations.ApiModelProperty;

import java.sql.Date;
import java.sql.Timestamp;
/*
* @auther tjf
* 添加预约病人信息
* */
public class OrderPatientInfo {

    @ApiModelProperty(value = "病人编号")
    private String patientId;

    @ApiModelProperty(value = "病人姓名")
    private String name;

    @ApiModelProperty(value = "病人性别")
    private String gender;

    @ApiModelProperty(value = "病人年龄")
    private int old;

    @ApiModelProperty(value = "病人病史")
    private String medicalHistory;


    @ApiModelProperty(value = "病人手机号")
    private String phone;

    @ApiModelProperty(value = "病人出生日期")
    private Date date;

    /*
    * get操作
    * 获取patientId
    * */
    public String getPatientId() {
        return patientId;
    }
    /*
     * set操作
     * 设置patientId
     * */
    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }
    /*
     * get操作
     * 获取病人姓名
     * */
    public String getName() {
        return name;
    }
    /*
     * set操作
     * 设置病人姓名
     * */
    public void setName(String name) {
        this.name = name;
    }
    /*
     * get操作
     * 获取病人性别
     * */
    public String getGender() {
        return gender;
    }
    /*
     * set操作
     * 设置病人性别
     * */
    public void setGender(String gender) {
        this.gender = gender;
    }
    /*
     * get操作
     * 获取病人年龄
     * */
    public int getOld() {
        return old;
    }
    /*
     * set操作
     * 设置病人年龄
     * */
    public void setOld(int old) {
        this.old = old;
    }
    /*
     * get操作
     * 获取病人病史
     * */
    public String getMedicalHistory() {
        return medicalHistory;
    }
    /*
     * set操作
     * 设置病人病史
     * */
    public void setMedicalHistory(String medicalHistory) {
        this.medicalHistory = medicalHistory;
    }
    /*
     * get操作
     * 获取病人号码
     * */
    public String getPhone() {
        return phone;
    }
    /*
     * set操作
     * 设置病人号码
     * */
    public void setPhone(String phone) {
        this.phone = phone;
    }
    /*
     * get操作
     * 获取病人出生日期
     * */
    public Date getDate() {
        return date;
    }
    /*
     * set操作
     * 设置病人出生日期
     * */
    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "OrderPatientInfo{" +
                "patientId='" + patientId + '\'' +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", old=" + old +
                ", medicalHistory='" + medicalHistory + '\'' +
                ", phone='" + phone + '\'' +
                ", date=" + date +
                '}';
    }
}

